HDMQ: Towards In-Order and Exactly-Once Delivery using Hierarchical Distributed Message Queues

نویسندگان

  • Dharmit Patel
  • Faraj Khasib
  • Shiva Srivastava
  • Iman Sadooghi
  • Ioan Raicu
چکیده

In today’s world distributed message queues is used in many systems and play different roles such as content delivery, notification system and message delivery tools. It is important for the queue services to be able to deliver messages in larger scales, at the same time it must be highly scalable and provide parallel access at the same time. An example of a commercial state of the art distributed message queue is Amazon Simple Queuing Service (SQS). SQS is a distributed message delivery fabric that is highly scalable. It can queue unlimited number of short messages (maximum size: 256 KB) and deliver them to multiple users in parallel. In order to be able to provide such high throughput at large scales, SQS confines some of the features that are provided by traditional queues. SQS does not guarantee the order of the messages. Furthermore, it also does not guarantee the exactly once delivery as duplicate messages can be delivered. This paper addresses these limitations through the design and implementation of HDMQ, a hierarchical distributed message queue. HDMQ consist of collection of area message nodes that can be used to store messages up to 512 KB. It utilized round robin local load balancer to save the message and scale across the area region accordingly. HDMQ provides 1 replica for high reliability of messages. HDMQ provides SQS-like APIs in order to provide compatibility with current systems that currently use SQS. We performed a detailed performance evaluation and compared HDMQ to SQS measuring throughput, latency and price per request. We found HDMQ to outperform SQS by up to 10-20% in throughput, 100% in latency, and 50% less in costs.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Hierarchical Channels and the Relative Speed

FIFO communication is expensive to support. It is also quite restrictive for several applications. In this paper, we study the concept of relative speed of messages and a hierarchy of such speeds which results in a hierarchical channel . In hierarchical channels messages sent at lower levels of the hierarchy cannot be overtaken by message sent at a higher level. But lower level messages can ove...

متن کامل

Hierarchical Channels and the Relative Speed of Messages 1

FIFO communication is expensive to support. It is also quite restrictive for several applications. In this paper, we study the concept of relative speed of messages and a hierarchy of such speeds which results in a hierarchical channel . In hierarchical channels messages sent at lower levels of the hierarchy cannot be overtaken by message sent at a higher level. But lower level messages can ove...

متن کامل

SOME GENERALIZATIONS OF WEAK CONVERGENCE RESULTS ON MULTIPLE CHANNEL QUEUES IN HEAVY TRAFFIC.

This paper extends certain results of Iglehart and Whitt on multiple channel queues to the case where the inter-arrival times and service times are not necessarily identically distributed. It is shown that the weak convergence results in this case are exactly the same as those obtained by Iglehart and Whitt

متن کامل

Exactly-once semantics in a replicated messaging system

A distributed message delivery system can use replication to improve performance and availability. However, without safeguards, replicated messages may be delivered to a mobile device more than once, making the device’s user repeat actions (e.g., making unnecessary phone calls, firing weapons repeatedly). In this paper we address the problem of exactly-once delivery to mobile clients when messa...

متن کامل

Developing a Messaging Based Audit Mechanism for a Workflow Management System Using Asynchronous Web Services Architecture

Web Services is being positioned as the technology for the integration of enterprise applications. It has a big role to play in a service-oriented architecture. But this promise cannot be realized until the web services model is able to offer important features of enterprise applications such as security and reliability. Web services today are essentially SOAP over HTTP. While HTTP has definite...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013